# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Product(object):

    def __init__(self, productName=None, productId=None, productType=None, productKey=None, createdTime=None, templateName=None):
        """
        :param productName: (Optional) 产品名称
        :param productId: (Optional) 产品ID
        :param productType: (Optional) 0：设备。设备不能挂载子设备。可以直连物联网平台，也可以作为网关的子设备连接物联网平台
1：网关。网关可以挂载子设备，具有子设备管理模块，维持子设备的拓扑关系，和将拓扑关系同步到物联网平台

        :param productKey: (Optional) 产品Key
        :param createdTime: (Optional) 创建时间，创建时间，时间为东八区（UTC/GMT+08:00）
        :param templateName: (Optional) 产品类型，如自定义等
        """

        self.productName = productName
        self.productId = productId
        self.productType = productType
        self.productKey = productKey
        self.createdTime = createdTime
        self.templateName = templateName
